Fixed bug in assignment astbuilder code