Fix stupid bug that stopped connections working.