Check to make sure the currentSection isn't undefined.
Merge pull request #731 from heddle317/master

Check to make sure the currentSection isn't undefined.