getErrorPositions_Add change

if statment allowed meaningless results (different size = no error),
changed to assert