Fix condition checking for grc