Fix the starting page selection from commandline
The logic connected to the --page argument did not provide all mandatory arguments to the switchToPage function.
The logic connected to the --page argument did not provide all mandatory arguments to the switchToPage function.