Fixed error when upgrading agoraportal to 2.0.9