Alternative fix to #1460

Since array_values() is used when grabbing arguments in
AreAllArgumentsValidValidator::processArgumentValidation(), the index 0
would be seen as empty in the __set() function.