fix adding appartment with same id in two different associations