Fix version in if-statement

Okay, it's right now. self table has no version item