Fix OXML type detection