Fixed API search with dbdirect parameter