Fixes for the issue #1810

This fixes a bug with column move feature. This bug has been described in Issue #1810.