ensure solves are removed when averages are removed