{% fn %} tag fixes

See commit descriptions.