Fixed word completion behaviour.

Open-webOS-DCO-1.0-Signed-off-by: Igor Kuksyuk <ikuksyuk@luxoft.com>

Change-Id: Ic4b57cd4fe3a81ddd98c5340b0b6af2a4e5997cd