Fixed an issue affecting the number of blocks in code.