Fix/team id filter all list endpoints (#6152)