corrected foreign keys in PropertyHistory