fix sample delay pull with negative index

- closes #1387