Fix minor type inference bug. Issue #73