Possible fix for failing test on postgres