Fix a typo in the deserialisation of portals