Fix haltepicker, now supports select end stops that are the same

Also add template caching