Fix error w/ smart_url and cached template loader