Entropy 0-case fix
Fixed Entropy 0-case