Error checking on related pages

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>