Attempt to fix periodic error in selenium tests.