Small fix  ( Ensure that priority field is an integer - Plugin manager)
(cherry picked from commit 7052c98)