Fixed handling of Collection#[] when provided an integer