Fix more instances in the contact module where degree of freedom IDs
were caught as unsigned ints.