Added searching in bpm_process_instances