Fix for defaults on shortcode for pagination; Fixes #2052