Fixed an issue preventing local entity searching.