Fixed bug where 2 back button presses are needed after invalid search to return to home screen