Fix: Avoid double warnings for strict rule (fixes #1011)