[2.0] Fix the HELPOP database being destroyed when a rehash fails.