Fix mixed up db; look for date in url