Fixed a bug where the active problem wasn't set properly