Fix scope inheritance documentation

Issue: SPR-12570