[*] Fixed VersionNumber > and < operators which returned wrong result in
some situations.
[*] Fixed bug where Task.cpp was still logging errors even when the last
error message count was set to 0.