fix conditional loss ratio in boundary case