Add query string to reading entity IDs.