BS-9839, fix key removal in contract inputs