Check operation types are valid correctly.
Fixme note.