Changed database select to take posts that are classified as unsuccessful as they may become successful later on.