Fix lazy_gettext error. Closes #543