The way you have hooked up the equipment is correct.

It also doesn't matter which lamp leg goes in which contact.

What can matter though, is that the contacts can get either dirty or corroded or even wear out (it gets hot in there).

Try cleaning the contacts to see if that helps.