Fixed study template rendering bug.