fixed removing old posts from db after updating preferences