Handle extra spaces in the plant name for restrictions matching. (#489)