Fix invoice item filtering