clamp index so it doesn't crash attributedAtIndex
clamp index so it doesn't crash attributedAtIndex
bogardon/nimbus,bogardon/nimbus,bogardon/nimbus,bogardon/nimbus,bogardon/nimbus,bogardon/nimbus,bogardon/nimbus