Attempt to fix various posts sorting issues.