Fixes prefix search