Trying to resolve issue with dbjoin/CDD as checkboxes in repeat group

Should now query right values from db tables when being in repeat group. The issue was that dbjoin/CDD as repeatelement always thought that its parent_id should be equal to rowid (also being in joined group)