net.box: Check the first argument in space/index methods. closes #397