Fixed null pointer exception that was being thrown when consecutive maps were being loaded.