[Version Control] Changed the logic.

It now works like a charm. ;D