Terminology changed in webtrees base.
Not all deleteicons are inside an a-tag. Add cursor:pointer to style definition.