Added SQL filter util