Bugfix in event directory settings code.