Don't try to access negative positions (that causes a spurious segfault)