Wrong way boolean in factory check