Fixes links with invalid attributes in Admin layout