BUG: Fix issue #1993

Change 1 line to resolve #1993.