Improved the Compatiblity with dirty Collections