[sailfish-browser] Avoid unneeded loop if there is only one live page