Jamba has no targeting logic built in, what you are likely experiencing is the fact that many abilities will target the nearest target when you hit them, melee abilities are commonly doing this.