Change in ovirt-engine[master]: engine: Added use of Math.max instead of "if".