Fix and further simplify sanitize_author