Fixed simplify_axes

Didn’t work with the new group-level ‘axes’ attribute.