removed unnecessary assert
Merge pull request #2043 from ilya-lavrenov:tapi_hack