slow detected state change

two switches connected to between pins 7 & 9, 8 & 10

That doesn't make sense. Why would 4 pins be needed for 2 switches? How have you connected the switches? What type of switch are they?