Fixed a few bugs with goal and profile spec after recent changes."
"