Fixed some unpleasantness involving the use of Status::ACTIVE_IDS. Probably a better way to do it.