Ray: Fix precission issue. See #5774.