Fixed performance issues on the candidate selector.
Tram stop query working again