Modified to move pagination code to after extra_attributes block
Merge pull request #16 from mdsol/fix/paginate_results

Modified to move pagination code to after extra_attributes block