Fixes failing latch tests.