Use data attr to check for double rendering.