WP-3989 Added a value check in the loop that loads the top story nodes