fix error on popup-delete when char-before return nil
Merge pull request #78 from aki2o/fix-popup-delete

fix error on popup-delete when char-before return nil