fixes #780 https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/780