Fixing phase angle range check error.