Fixed an issue with generic class inheritance
Correctly implemented restrictions related to inherited generic classes