Fix type of priority in plugin config