Don't divide by 0 when doing percentages (e.g. with the swap plugin).