Fixed an issue when two commands arrive in the same chunk