Fix broken support for chained orderBy(). Fixes issue #65