Fix blockedPairs to accomodate it even when the key is not an int