When handling a 3d volume it was accessing too far when there was cell data present. (cherry picked from commit 428d603a)