Fixed bug where the variable v in the position function would be undefined instead of null, causing an issue in the evaluation of the ternary operation.