improved inbound alter and added new queries to category_id instead of the location. Distance is now the new trigger to determine if it is a spacial search or not.