Fixed quantum router bugs