Added new listFilter API to get rid of mysql_real_escape_string