Fixed mapLocation records not being properly deleted