Bug fix for {{render "template" model}}