Avoid circular references for users and tasks