Functions on autocompletes
Fixed submission attempts on auto-complete selections