Resolve an edge case in which providing an 'undefined' input phrase would cause sentiment to throw