Fixed validation issue for array inputs

https://github.com/elliotcondon/acf-field-type-template/issues/20
Signed-off-by: Elliot Condon <e@elliotcondon.com>