_calculatePositionIndex() corrected version

Syntax error correction