Revert "Added duplicate assignment check"

This reverts commit 17d68c3d50f0c87e6bb90f8b516db52214c92ab6.