The `from` parameter is properly validated now.

The `from` parameter is checked to be a valid `PageId` now.