When running the following command, the command line will claim that "all" is an invalid argument, but upon running the command it still works.
/execute if blocks 1 2 3 1 2 3 1 2 3 all
When running the following command, the command line will claim that "all" is an invalid argument, but upon running the command it still works.
/execute if blocks 1 2 3 1 2 3 1 2 3 all
Does MC-137380 describe your issue?