Fixed wrong redirecting
Merge pull request #2993 from WouterJ/issue_2846

Fixed wrong redirection of virtuals -> inherit_data