Fix word completion with empty completion list