fix: catch/intercept the unwanted scenario of querying non-existent ids

Merge request reports