Performance improvement made to plugin

Fixed issue with root level config.xml