Bug #1154

- Fixed bug #1154, which now allows priorities to be specified in any case.