Fixed inheritance in a 'use'-hierarchy

Fixed #1365