Fix problem with deschedule command.

Bugs closed: aurora-597

Reviewed at https://reviews.apache.org/r/23872/