Inconsistent license scan

Take a look at these two licenses:

They are exactly the same. Yet the first one is not correctly indexed & labelled but the second is. Licensee also reports a perfect match of the first license with MIT:

$ licensee diff LICENSE --license mit
Comparing to MIT License:
Input Length:       1020
License length:     1020
Similarity:      100.00%
Exact match!

I wonder what license scanning tool GitHub uses? And is this license status updated regularly, or only once after the repo is created?