[index] rivets doesn't like length of 0. fixes #169

fixes #169