ENH: making get_slicers more robust