Fixes the annoying empty-send-bug.