Fixed return value for mis-spelled words.

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

Change-Id: I8e6af1f89528b66dbacd3ca3b55e34494bcfe46c