Better check for clashing quaternion type; closes #6