[STUDIO-2585][STUDIO-2945] fix a non deleted correlation key corrupts
normal behaviour even if not activated
Merge branch '6.0.x' of https://github.com/bonitasoft/bonita-studio.git into 6.0.x