Fix order of args passed to xtend

(Right-most takes has precedence)
Merge pull request #2 from yohanboniface/xtend

Fix order of args passed to xtend