Fix application errors selecting projects.

Change-Id: I560927f2481c8b87c817464d94c214a04a9c9777