Fixed calculating of limit and offset for TOP clause in Virtuoso. #625