Fixed deleted pins showing bug