Fix replacing top slabs giving wrong/invalid data values
Merge pull request #128 from skinny121/replaceSlab

Fix replacing top slabs giving wrong/invalid data values