BUG: sparse: fix issues with 0-size fancy indexing