refactored Labfile version attribute comparison logic