issue #20177: Fix problem where new workspace was triggered twice.