Changed condition and plugin version