Fixed issue #3078: Faulty behaviour of "Commit" feature in "check for modifications"