Fixed #23855 -- Removed unnecessary all() in tutorial 3.