Handle infinite lifetime
Do not crash when an invalid paste is found