Fixes issue where data could end up equal on the element