Switched to using an array to manage the hashes. Works better.