cascading deletes taken care of for votes which belonged to two different tables