Attached is a proposed partial fix for the backref-with-* problem described in bug 1115587. I would've attached it directly there, except i couldn't figure out how to attach a file to an existing bug entry. If that's possible through the web UI, it's surely not obvious.
discussion and patch against 8.5.11
Limitation of SF tracker; only project devs and the submitter can attach files to a ticket.