Fix zcard before limit