Deleted Patterns Show Up In Renoise.song().patterns

Hi,

Bug in Renoise Renoise 2.8.0 B7 (Windows 32bit):

The following code shows all patterns:

  
 for i = 1, #renoise.song().patterns do   
 print(#renoise.song().patterns[i].name)  
 end  
  

After inserting a clone of a pattern and later deleting this clone,
the deleted pattern still shows up. Also after saving the file and
restarting Renoise.

Bey,
Bas

How else could you remove patterns from the Sequence but still be able to access the pattern? All patterns are kept.