Fixed directory selection bug.

All directory filters appear to filter correctly.