Added fix for #23 - not rendering paginator with one or fewer pages