fix with_deleted in associations