Make sure strings are moved into the rehash.