fix notifications being added to closed tickets