fix ordindate scaling

Change-Id: Ie659b4aaef587cda1e33daf6673a715d8bdd95a8
Reviewed-on: http://review.couchbase.org/24131
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>