Fixed wrong section selection bug.