fixed foriegn key restraint for deleting vehicles