Please find the patch for the same. I have come up with this solution for the bug.
Thanks Guillaume for your suggestions and help. It helped a lot to come up with this solution.
As I could not find a direct way to integrate the new sql with the existing sql for the ShowDependents and ShowDependency, (as per Dave's suggestion) we added few lines at the end of these function for the solution.
wow - Thanks.
I think - this gives me enough idea to work on.
Good to see you two figuring this out - I love it when a plan comes together :-p
I'm going to go on and prepare the beta. This bug has been around for
years and never got noticed before. Another few days or so won't kill
us.