itemController and searchresults.php bug fixes

I'm so cereal this time, you guys