Allow search when editing pass cell and fix bug