Revise comparison FIXME with a more precise description and assertion.

This bug was fixed in https://gerrit.wikimedia.org/r/59440 but keep the
assertion here to prevent a future regression.

Change-Id: Ia3b68e7b2077e426e2b6543744ffdb8c34083551
Merge "Revise comparison FIXME with a more precise description and assertion."