fix for issue #300 (inconsistent behavior for indexing with integer sequences)