Null safe check on page lookup