Fixes to reverse array relation