audit: validate comparison operations, store them in sane form