Minor change to connection limits code