Bugfix - if entry was ended with comma or only comma was insterted