Fix #337 - Fix 'y -1' segfault