Fixing check_mode overwriting global --check option