Prevent issues with multiple text/html defined formats