Check if we are operating in a grouping before issuing a warning