Fix empty block validation