Be able to override SQL in smart groups