Fix filterFieldName for non-foreign key fields.
Authored by: b_calderwood 2012-01-25
Parent: [r5985]
Child: [r5987]