replace pry-debugger with pry-byebug
query remote search results recursively if they are paginated