[[ Bug 12819 ]] Check that the stack is keyed in revAvailableHandlers / revAvailableVariables.
Merge branch 'bugfix-12819' into develop