Make behavior of indexing with integer sequences and boolean arrays
consistent (by converting integer sequences to boolean arrays
internally).  Addresses issue #300.