MDL-21097 Correctly check capabilities for course settings items
t