Fixed a bug I introduced cos i am no longer precompiling the templates