#6161: Save var as int instead of boolean.

Turns out the system can't handle a boolean, cause it string converts to an empty string.
Merge pull request #6171 from openscholar/6161-section_nav_fix

Save var as int instead of boolean.