Anchor name matching at beginning of string for restrictions.

Fixes bug where query on pin oak also returned chinkapin oak. (#498)