Fixes broken map clearing.