not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Heredity Environment' OR plural='Heredity Environment' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='editorial' AND image_id IN (181858, 144173, 98587, 69112, 53888, 19155, 3333, 1323) 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 ( [181858] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2020 [viewable] => 2020 [property] => 13 ) ) [144173] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 13 ) ) [98587] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2013 [viewable] => 2013 [property] => 13 ) ) [69112] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2085 [viewable] => 2085 [property] => 13 ) ) [53888] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 13 ) ) [19155] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2507 [viewable] => 2507 [property] => 13 ) ) [3333] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2001 [viewable] => 2003 [property] => 13 ) ) [1323] => Array ( [weight] => 1 [attrs] => Array ( [published] => 1993 [viewable] => 2008 [property] => 56 ) ) ) [total] => 8 [total_found] => 8 [time] => 0.000 [words] => Array ( [heredity] => Array ( [docs] => 133 [hits] => 142 ) [environment] => Array ( [docs] => 2309 [hits] => 2611 ) ) )

181858, 144173, 98587, 69112, 53888, 19155, 3333, 1323