fix(history): search historicprocessinstance by processdefinitionkey

related to #CAM-2235