Fix error on startup caused by malformed expression

Maybe you want to squash this commit with the previous one for a cleaner history.