Make sure the first relation of equivalent_args/4 is from head and the
second from body.