Fix bug #14, the test on the inherit option was wrong