Fixed order line total arithmetic issue.
SQL fixes