Make user-list accept sql WHERE clause