From what I just read on the WPML support pages, a wpml-config.xml is required that tells WPML which custom fields and custom types exist and how to treat them. See https://wpml.org/documentation/support/language-configuration-files/

Unless the optimization for WPML that you mentioned is not working otherwise, can you provide me with such a xml file?