Prevent double hashes in non-push-state mode