[FIX] Back check in Mako template