Prevent special column corruption of ORDER BY

Special columns whose name match the beginning of a table name can
potentially corrupt the ORDER BY clause. This patch prevents this from
happening under some circumstances.