Fixed issue where new attachment notification is being sent even when the attachment is for a new assignment (should only be for existing assignments)