#386 Also delete linked tables which have no relation to entity