Fix another bug with relative object names.

Refs #5925