The +index pattern without a wildcard in the index list is handled incon...

...sistently

Fixes #3979