Use single query for multiple revision lookups by pk

Change-Id: I7bf18898f8b4f91ca8fa4a85685f023106caddd9