fixing check for active jobs when cluster isn't configured