Fix potential bug with sub-page left / right setting.
Fix potential bug with sub-page left / right setting.

jamesfoley/cms,dan-gamble/cms,jamesfoley/cms,danielsamuels/cms,lewiscollard/cms,dan-gamble/cms,jamesfoley/cms,danielsamuels/cms,jamesfoley/cms,dan-gamble/cms,lewiscollard/cms,danielsamuels/cms,lewiscollard/cms