Fixes error in credit limit check where credit limit is nil