Fix for mod/book upgrade problems