BUG: fix the extent check to accommodate single-slice data