This can cause overwriting of unintended keys, so should not be happening. Will have to find the bugs this causes.