Fix: Plugin-based checks are broken.

Fixes #5751