Bug in dictionary removal.