fixed another bug with the way p1_id's goals_allowed was stored