Dropping unnecessary secondary sort on versions association, fix #235