Inspector tab: fixed error message being shown when there was no
expression