Fixed a problem with default goal types.