Remove any empty position args caused by trailing slash