Added validation to awake periods so they cannot overlap