Check for empty string input.

Decided to just check for empty string input and ignore if is empty. Fixes #106