Prevent division by zero if no source or target folders are selected.