#508724: non page tasks were getting set with an invalid subtask on upgrade from Panels 2, causing handlers to refuse to load.