refs #12: Changed uniqueDir check to !== false so that default behaviour does not change.