Add conditions to contact notes association