I am not sure this is the best way to go about this, but you could replace the 'or' with 'and'. That would mean the six neighboring voxels and the original voxel would have to be in the original mask to be included. You could also try the mofn operator where m of the neighbors would have to be included for somewhere in between (>1, <7).