repro for Factor bug #1021