Fix ARG_CHECK condition