Change logic for section selection in navigation tests.
Merge pull request #1399 from edx/zoldak/fix-lms-navigation-tests

Change logic for section selection in navigation tests.