Get the correct DB column name on filter/ sort by property

#340
Sorry, I mis-read the test. This is perfectly fine. :+1: