Fixed #22792 -- Updated checks for list_display_links in model admin