Fixed after some Tumblr changes

Also adjusted the searching algorithm and the way in which it finds the
current page number of the post (much more accurate)