allowing before/after and inequality operators to take named field on left or right of operator