MOSYNC-2903. Fix for WikiSearchNativeUI crash.

Fix for http://jira.mosync.com/browse/MOSYNC-2903