fix to _search_open for invalid IDs - close #600