Modified "get_edit_post_link" filter trying to fix the broken edit links.