MDL-43941 Course: Allow AJAX show/hide of activities in hidden and orphaned sections