Reverse conditional to keep named group logic together