Fix revert regression
Merge pull request #344 from aglarendil/develop

Fix revert regression