fix(sql): fix typo in postgres index

related to #CAM-2839
fix(engine): fix and test for historic case instance delete

related to #CAM-2839
fix(engine): fix typo in class names