Fix bug in copy-n-paste from shortcode table