Fixed obvious logic error.
Assign current_version with terser syntax.