Fixed inconsistent version bound on directory.