I replaced 2 side by side rocker switches with 2 smart switches, one controls the kitchen lights and one controls the chandelier. There were 2 separate black wires coming from each wiring box that were twisted together. No tape or cap. Why would they be connected? And is this safe?