operator priority caused a vector index to not be limited by modulo operation as intended