Checking for existence of element in map before deleting.
Checking for existence of element in map before deleting.
Fixing resource name.
Merge pull request #311 from jaredbischof/master

Minor bug fix.