This [answer][] has been deleted by @ThiefMaster and I'm assuming he knows what he's doing. The answer is surely not perfect, but close to, especially in cases when the accepted answer can't be used.

So I wonder if this was an oversight or if I'm missing something?

At the same time, I'd like to know what's the best action in such a case (just undelete)?

[answer]: http://stackoverflow.com/a/25000089/581205