Fix for phase name case insensitivity