Fix #643 - Fix PHP notice on search with no results