Fix 1426

Fix issue #1426. @ldoktor, I figured out what was going on.