Start from 0 when getting the last page
Reset the current start when is higher than the number of matches after deleting a file. Removed 2 unused strings.
Indentation fixes
merge with master
Merge pull request #4914 from adobe/jeff/fix-4752

Fixes merge conflict in pr/4752