not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Agriculture Tax' OR plural='Agriculture Tax' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (139746, 62734, 53232, 39175, 29841, 23706, 23571, 12218, 9461) 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 ( [139746] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 72 ) ) [62734] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2011 [viewable] => 2017 [property] => 75 ) ) [53232] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2010 [viewable] => 2010 [property] => 72 ) ) [39175] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2009 [viewable] => 2009 [property] => 152 ) ) [29841] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2001 [viewable] => 2009 [property] => 72 ) ) [23706] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2008 [property] => 92 ) ) [23571] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2008 [property] => 79 ) ) [12218] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2005 [viewable] => 2005 [property] => 75 ) ) [9461] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2005 [viewable] => 2005 [property] => 71 ) ) ) [total] => 9 [total_found] => 9 [time] => 0.000 [words] => Array ( [agriculture] => Array ( [docs] => 272 [hits] => 316 ) [tax] => Array ( [docs] => 2341 [hits] => 4685 ) ) )

139746, 62734, 53232, 39175, 29841, 23706, 23571, 12218, 9461