Fixed bug in testing whether an added directory is a child of an already-monitored one.