Fix issue with REE backwards inserting to hash