#1040 fixing logic that warns for non-existant monitors (unittest)