Fixed warning throwing if it's not an array yet.