Looking at the judgment the thing that swung it for Harry Miller was that there has been a mandatory requirement to record NCHIs, which meant that there was no assessment of the incident to check whether it had passed a threshold of hate.
One clear solution would be for Police forces to assess NCHIs and then only to record them if a "hate threshold" was passed. All of the tens of thousands of them* reported each year.
*120,000 recorded between 2014-2019.