Added logic to use primary label for latest posts.