Change logic for section selection in navigation tests.

@wedaly