Fix neko crashing

This workaround fixes neko crashing, a better solution would be to find out why value becomes null in the first place, but this workaround works.
Merge pull request #401 from SergioB/patch-1

Fix neko crashing