Bug with 'append' decorator