Fix on insertBegin

Bad comparation in the method fixed