Removed empty elements from uri array