Update position.cpp

Merge two 'if' statements.

No functional change.