Fixed #351 (Can activate more than one schedule)