fix search result rendering falling over 
(weird sqlite3 error in dev)