not a valid subject

SQL1 is SELECT id, name, alpha, bold, bodytext, active, meta, intro, plural FROM subjects WHERE name='Trump Foundation' OR plural='Trump Foundation' ORDER BY alpha DESC LIMIT 1
SQL2 is
SQL3 is SELECT image_id from image_data where property_type='strip' AND image_id IN (181425, 180918, 180372, 180277, 177010, 175570, 175567, 175550, 172401, 159136, 153078, 150363, 149837, 149804, 149599, 149574, 149494, 149263, 149014, 149002, 148749, 148740, 148738, 148650, 148461, 148092, 145685, 145382, 142045, 141977, 138833, 131727) 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 ( [181425] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2020 [viewable] => 2020 [property] => 62 ) ) [180918] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 71 ) ) [180372] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 71 ) ) [180277] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 84 ) ) [177010] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2019 [viewable] => 2019 [property] => 72 ) ) [175570] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 58 ) ) [175567] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 71 ) ) [175550] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 72 ) ) [172401] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2018 [viewable] => 2018 [property] => 156 ) ) [159136] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 75 ) ) [153078] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2017 [viewable] => 2017 [property] => 163 ) ) [150363] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 79 ) ) [149837] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1009 ) ) [149804] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1015 ) ) [149599] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 79 ) ) [149574] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 58 ) ) [149494] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 93 ) ) [149263] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 79 ) ) [149014] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 84 ) ) [149002] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1007 ) ) [148749] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 152 ) ) [148740] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 78 ) ) [148738] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 55 ) ) [148650] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 1011 ) ) [148461] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 55 ) ) [148092] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 58 ) ) [145685] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 79 ) ) [145382] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 93 ) ) [142045] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 55 ) ) [141977] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 152 ) ) [138833] => Array ( [weight] => 2 [attrs] => Array ( [published] => 2016 [viewable] => 2016 [property] => 75 ) ) [131727] => Array ( [weight] => 3 [attrs] => Array ( [published] => 2015 [viewable] => 2015 [property] => 99 ) ) ) [total] => 32 [total_found] => 32 [time] => 0.000 [words] => Array ( [trump] => Array ( [docs] => 8279 [hits] => 17522 ) [foundation] => Array ( [docs] => 199 [hits] => 370 ) ) )

181425, 180918, 180372, 180277, 177010, 175570, 175567, 175550, 172401, 159136, 153078, 150363, 149837, 149804, 149599, 149574, 149494, 149263, 149014, 149002, 148749, 148740, 148738, 148650, 148461, 148092, 145685, 145382, 142045, 141977, 138833, 131727