Fix bug with rainbow table storage