Fix wrong format ret of prefix_search_and_remove_objects/1