Should not call inputs if not used. Refs #8126.