Updated location hash parser. Fixes #32.