Fixes #936 Wrong compatibility check for plugins

#936 feature