Fix MySQL conversion for embedded model instance