Fix #4018: sphinx db relation composite link

Fix #4018: sphinx db relation composite link