check for null deadline rather than time