Fix bug with relation tables in db