Have a look at page 17 of this document. I think you might have missed an error code or two. Your site is great BTW! I'm using some of the compiled codes in your java files to try to do rudimentary apdu recognition in my app for the Chameleon Mini.
Keep up the good work!