fixes #2696 Error saving binary field in a secondary language

Fixed the issue and committed code for review.