Fixes bug with combining nodes