Tools/MeshExtractor: Fixed a logic mistake.