Fixed "visible" field being set to wrong value for soft-deleted threads and posts.