Make sure the goal is always numeric. See #272