In my earlier (brash!) statement, I meant that parens around simple "and" statements don't matter--they do, of course, matter in setting off if-thens that are connected by "ands" or when used with "not".
I'm not sure what epoh was looking for in terms of the late field in relation to type 59, but I'm betting that if only the "user" or "user2" that was "late" needed to be excluded, that part of the formula could have been written like:
not(
{table.user} in ["user","user2"] and
{table.type} = "late"
)
-LB