Ensure functions query their respective endpoints.