Check for null dates