@zinkotheclown not a bug. You are most likely running into a quirk with Bash where any positional arguments past 9 you have to use alternate variable expansion uhsing brackets.
So for 9 you can use "$9" but past that you have to use "${10}" and "${11}".
In general I'd recommend to use brackets for bash variables. For example:
1#!/bin/bash
2
3var1=First
4var2=Second
5echo "$var1$var2"
could sometimes lead into an output of "First$var2". some implementations of bash have issues with variable interpretations, so the second dollar may be interpreted as literal character. This means, you should clearly specify your variables and the end of them.
1#!/bin/bash
2
3var1=First
4var2=Second
5echo "${var1}${var2}"
The code above will avoid strange variable issues, AND, in any case, the result of the output will be "FirstSecond".
Just my two cents ;)