fixed bug where a deploy would be scheduled for an invalid demo