Fixed error when no deadline is set on Assignment