Fixed issues with note removal in Firefox