Fix db limit request when limit = 0 (no limit)