Hash index speed improvements