Make sure jointcapability really indicates joint capability (bug #2210)