Define variables to handle case where there are no related nodes to display in pager
Don't display related student work block if there are no related nodes