Fix failed assertion with non-existant svg symbols (#4899)