Fix for nearby pages error.