Fix map entry deletion in inputs of map<complex>