Fixes and more verbose logging for ordering fixer

Specific fix was that highest_seen_ordering could be nil if there were
no old attachments.