This is resolved by https://github.com/onaio/onadata/commit/10e688504518d68560415b4d7c3d8bd26a254a81