fix append! and prepend! of self

thanks to @carlobaldassi