Bugfix and reverse db used when using ntermwildcards