After a block has been deleted from the blocks, the Blocks Order array is not cleared properly if it is already checked in the list order.

In the above screenshot, you could see that before adding the service block I have deleted another block, but it is reflecting incorrectly in the Blocks Order list.