Bug fix: find_if shall not modify elements