PrefixSearch: Avoid notice when no subpage exists

Change-Id: I9e09b1c082e099f3b79716da5ab16239e256e4b2