[bugfix] fix query rewriting issue using new range index: reverse axis expressions cannot be optimised.
[ignore] add some argument checks for optimised functions range:field and friends.