Hi,
is yet the other half part of 4012 with all inputs on GND pls and do have the 4082s/4012 pro IC a 100nF?
If their are all good bypassed, apply pls the spoken diodes on both relays!
Than, I would select some Schmittrigger input devices for entprelling the switches!
Maybe you can make a better situation if you put on all inputs onto the 47KOhms a parallel 100nF-or so, depends of your switch prell time, but a Schmitt(or RS-FF)-input is the better way... With an oscilloscope you can light see the prell time of your switches.
K.