Fixes for the time autocomplete.