Remove unnecessary assert