audit: fix interpolation check

Fixes #19363.
connect: fix audit warning