Forgot not equal check in get upstream hash