Fix rollback of pinned migration
Track last post created at for thread ordering

Closes #177