Fixes way of version checking in Material class