Fix query for author autocomplete