Nasty upgrade bug fix