not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Pre-war' OR plural='Pre-war' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (51688, 25941, 22406, 18103, 17141, 17140, 17138, 17113, 16454, 11453, 6986, 6927) 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 ( [51688] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 58 ) ) [25941] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 62 ) ) [22406] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2008 [viewable] => 2008 [property] => 58 ) ) [18103] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2003 [viewable] => 2008 [property] => 72 ) ) [17141] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 58 ) ) [17140] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 84 ) ) [17138] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 79 ) ) [17113] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2007 [viewable] => 2007 [property] => 75 ) ) [16454] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2003 [viewable] => 2007 [property] => 62 ) ) [11453] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2005 [viewable] => 2005 [property] => 62 ) ) [6986] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2004 [viewable] => 2004 [property] => 55 ) ) [6927] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2003 [viewable] => 2017 [property] => 78 ) ) ) [total] => 12 [total_found] => 12 [time] => 0.000 [words] => Array ( [pre-war] => Array ( [docs] => 12 [hits] => 15 ) ) )

51688, 25941, 22406, 18103, 17141, 17140, 17138, 17113, 16454, 11453, 6986, 6927