Updated ShadowServer hash lookup logic