Update views/default/page/components/list.php

added logic to account for lists with zero limit