Fixed a bug that prevented holos_photos_get from working with non-sequential pages.