not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Donald Trump Sarah Palin' OR plural='Donald Trump Sarah Palin' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (146993, 144389, 141691, 141359, 138805, 138463, 138230, 138229, 138224, 138221, 138163, 138162, 138156, 138153, 138151, 138142, 130137, 122332, 120723, 60322, 60046, 59791, 59448, 59168) 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 ( [146993] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 168 ) ) [144389] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1017 ) ) [141691] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 84 ) ) [141359] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1008 ) ) [138805] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 173 ) ) [138463] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 168 ) ) [138230] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 78 ) ) [138229] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 58 ) ) [138224] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 93 ) ) [138221] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 163 ) ) [138163] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 162 ) ) [138162] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 84 ) ) [138156] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 99 ) ) [138153] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 111 ) ) [138151] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 71 ) ) [138142] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 156 ) ) [130137] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 75 ) ) [122332] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 93 ) ) [120723] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2014 [viewable] => 2014 [property] => 152 ) ) [60322] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 156 ) ) [60046] => Array ( [weight] => 1 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 93 ) ) [59791] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 99 ) ) [59448] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 111 ) ) [59168] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2011 [viewable] => 2011 [property] => 84 ) ) ) [total] => 24 [total_found] => 24 [time] => 0.000 [words] => Array ( [donald] => Array ( [docs] => 7974 [hits] => 10353 ) [trump] => Array ( [docs] => 8001 [hits] => 17015 ) [sarah] => Array ( [docs] => 483 [hits] => 900 ) [palin] => Array ( [docs] => 405 [hits] => 1015 ) ) )

146993, 144389, 141691, 141359, 138805, 138463, 138230, 138229, 138224, 138221, 138163, 138162, 138156, 138153, 138151, 138142, 130137, 122332, 120723, 60322, 60046, 59791, 59448, 59168