Comparing with null

Fix error thrown if Version is compared with null