not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Behavior Modification' OR plural='Behavior Modification' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='editorial' AND image_id IN (156065, 115000, 82638, 79274, 73504, 71399, 69906, 69896, 58168, 57982, 53673, 49032, 45101, 23415, 13543, 13541, 4061) LIMIT 1

Array ( [error] => [warning] => [status] => 0 [fields] => Array ( [0] => keywords [1] => participants [2] => setting [3] => caption ) [attrs] => Array ( [published] => 2 [viewable] => 2 [property] => 1 ) [matches] => Array ( [156065] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 148 ) ) [115000] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 141 ) ) [82638] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1984 [viewable] => 1984 [property] => 169 ) ) [79274] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2012 [viewable] => 2012 [property] => 149 ) ) [73504] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 138 ) ) [71399] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1990 [viewable] => 1990 [property] => 13 ) ) [69906] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1998 [viewable] => 1998 [property] => 13 ) ) [69896] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1973 [viewable] => 1973 [property] => 13 ) ) [58168] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 160 ) ) [57982] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2017 [property] => 164 ) ) [53673] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 141 ) ) [49032] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 138 ) ) [45101] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 94 ) ) [23415] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2008 [property] => 13 ) ) [13543] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2006 [viewable] => 2006 [property] => 54 ) ) [13541] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2006 [viewable] => 2006 [property] => 54 ) ) [4061] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2003 [viewable] => 2003 [property] => 54 ) ) ) [total] => 17 [total_found] => 17 [time] => 0.000 [words] => Array ( [behavior] => Array ( [docs] => 2213 [hits] => 2504 ) [modification] => Array ( [docs] => 166 [hits] => 200 ) ) )

156065, 115000, 82638, 79274, 73504, 71399, 69906, 69896, 58168, 57982, 53673, 49032, 45101, 23415, 13543, 13541, 4061