Remove unnecessary check for number of commands Upstream-commit: 951702a5679b5220bfb02497bc76b65137dff1e3 Component: engine