Slightly better logging when a comparison fails.