Use correct variable to compare major release number