Bug fix in assembly pipeline

The previous modification introduced a typo, now fixed.