Checking the existence of an expression in the db when loading an expression page.

Change-Id: Ica8ae49c4db57d61c765423733d5ff3a19f51583
Merge "Checking the existence of an expression in the db when loading an expression page."