Fix a bug with newer jQuery UI version (ui-autocomplete)