Fixed a bug with the raw results that they are not obeying the AS SQL.
Thanks to nonameplum.  Bug #183.