Fixed assumption in relation_selector that could fail depending on the response field order
Added :link_type as accessible attribute