Fixed action for pagination. closes #710