Don't let Memory or CpuShares be negative