Added a check to see if a variable is set before displaying content on the rightside template.