Cache clean and cache list work again, fixes #1232