Sorry for late answer, but you could use this gist on Github, it should solve validation issue without any problem. Hope this helps you or anyone who sees this.