Fixed bug preventing update from 1.7.x