Forgot about checking our pair in dictionary before giving it as safe one.