Fixed issue with hr_layout_create_links