Only selecting next time form database in case of multiple entries on same location.