minor fix: minor fix to use the correct query clause.