Need to check that Instagrams next url not empty

Instagram sometimes returns a next url for pagination that returns an
empty set of data. Added a check for this.