Added additional check to avoid an error while MetaMap is not loaded.