fix autocomplete eating prefixes
fixes #1829
Merge branch 'master' of https://github.com/r888888888/danbooru