signal: Fix out-of-bounds read in arPick.

I don't know if this is correct or not, but it fixes a valgrind warning.

See #825.