Improved level version handling