Make nick-based prefix more robust.