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

I don't like including `isParentStrict` in here. I think it should be handled at the call site.