I tried to reproduce this in 2.1.4 but I was not able to do so. Looking into the code, there is a difference between 2.1.3 and 2.1.4.
$showsection = (has_capability('moodle/course:viewhiddensections', $context) or $thissection->visible or !$course->hiddensections);
$showsection = get_section_show($thissection, $modinfo);
In 2.1.3, get_section_show() is returning true when it should be false. The revised way of determining $showsection in 2.1.4 is working correctly.