fix: raises QueryNotFoundException when get returns empty list