Fixed error in the DISCONT predefined function