Fixed sql statement in database for restaurant searching