Fixed neocomplete crash in python