Minor validation check

https://github.com/AdvancedCustomFields/acf5-beta/issues/228
Signed-off-by: Elliot Condon <e@elliotcondon.com>