Fix a long-standing bug where the user directory would return 1 more row than requested.