Fixed inheritance in a 'use'-hierarchy

Fixes #1365