collections: Support negative indexes