Fixes #936 Wrong compatibility check for plugins

1.6