Merged r12842 ONLY of p620 into p630

git-svn-id: https://farcry.jira.com/svn/FC/branches/p630@12843 8f7d33b6-1012-0410-9a5a-bb7ecce9c363
fix empty array item issue with typeahead

git-svn-id: https://farcry.jira.com/svn/FC/branches/p630@12845 8f7d33b6-1012-0410-9a5a-bb7ecce9c363