Patches for check_insight [sf#716652] [#444]