Fixed anx order query.
Merge pull request #591 from kpysniak/anx

Fixed anx order query.