Yes to be clear this is a bug in all current versions of Moodle. See MDL-36877
The workaround is to go to Course Administration -> Edit settings and in the "Appearance" section set "Show gradebook to students" to "Yes" because if this settings is "No" the end of lesson page will not be displayed.
But as you will see in MDL-36877 I am working on fixing this bug.