Fixed Pagination Issues

Added correct variables for checking for pagination. Handled instances
when Instagram will provide a pagination link that returns nothing.