Fixing bug when using db_field to (column alias). When we try to filter ...

...through for a column that has an alias, an error occurred.