Fixed decrement function in AVObject