Welfare incentives can trap people in poverty