Edited filter to check city in database if no venue ID is found.
Cleaned up code significantly.