scheduler: deployment intervals - fix the validity condition