Fixes max test.