When asking WDQS to list the longest things, Gigaparsec (Q14916719), Astronomical unit (Q1811), or light-year (Q531) would expected to be included near the top of the least, before light-second (Q909315), which currently leads the list as the longest thing.
It's unclear why this is not the case. We might be hitting an overflow issue somewhere, or it has to do with the fact that the relevant items are not only long things, they are themselves units. But then, so is light-second, and it is listed.