fixes #67
Merge pull request #707 from magfest/restricted_shift_priority

fixes #67