Fix autocomplete data for photos