Fix bookmark delete bug: not detecting correct element