Fix for two buttons showing up on first autocomplete on page