feature version constraints corrected.
fix for NPE when the compilation unit is not consistent (happens on some systems).