Story 49425663: fixing 500 error for linking PBC refs