fixes #165: workflow formula expressions with major and minor signs. some minor code cleanup