Fixed issue with error object paths for function validators.