Update upper alex version bound to 3.1.2.