improved logic and debugging for already mined posts