I have created a patch which will fix this issue by not skipping empty fields when storing a submission in database anymore.
This will however not fix the CSV export of already stored submissions as they will still miss out the empty fields because they cannot be restored as empty fields.
You can find the patch on pastebin:
https://pastebin.com/TYYBizJR