complete search function firing on Enter