Remove any empty strings in the array due to the :optional: route pattern.