Prevent duplicate database search entries