Fixed wrongly used templatetags