Task has no project attribute, so don't just check if the attribute is null