Fix a bug in index of users