I looked at source code history, I fixed this bug 1st Nov 2012, so it means Avast8 (first public version) contains this fix. Users with avast v7 can update to A8, or disable self-protection module.