Fixed bug in removePar()
Changed getNextRealPar to isNextCharPar; forget if there was more