Fix #342 where compacted millisecond columns were throwing errors during an
fsck when they shouldn't have been. Also add some unit tests to validate the
fix.