Allow for alternate ascending and descending prefixes, fixes #15047 !strict