Fixed error with undefined continuities