Added check for ScheduleTypeLimits

I don't know why it wasn't there in the first place