Added a separate error message for when the expression list is empty.