Added check for slicing of 0-d datasets
Fixes to Masking operations after AbstractOperation refactor