Fixes problem of click matching several deletes