More valid location hash detection