This instruction involves downloading Lion Recovery Update 1.0, and a shell script (you can create your own with the contents copy-pasted from below), and also an image of the latest OS X (in my case OS X Sierra 10.12.2) and copying a file from that downloaded image. Read the first post in this thread, written by 'tywebb13'. Long time ago, I searched for a solution and found this post which solved this problem. Every time I update the OS the recovery partition is left untouched, or at least it appears to be.