Firstof tag should escape values by default.
This is introduced in Django 1.6.