Check for , and . to avoid crash
Merge pull request #117 from hyperoslo/fix/crash-when-inserting-commas

Check for , and . to avoid crash