SERVER-13537 better handle numerical overflow of large limit values