Fix Issue #9, bad syntax causes jedi completions() to fail.