bugfix: can't "next" or "previous" ourside our statement array