Fixed proxy dict contains method