Fix decrypt_as logic for mongoid fields