Make prioritize shortest match an option