Fix field conversion bug
Closes #457