Fix ldbsearch output parsing