Fix send message calculation in execute queue command.