Fixed underflow error in postgres

Floats smaller than 1e-300 are rounded to zero. This fixes an error found by Catalina.