Use simpler method for retrieving the requested query ID