last commit broke SINGLE_INFO_REVISION_PEOPLE query due to accidental
deletion. this commit replaces deleted code