Error found in exceededCal calculation