Applied patch by Vincent Stehlé to correct behavior with major/minor numbers..