messages.html.tmpl IF groups... fixes