Fixes a PHP notice and error when adding a calc field.
Merge branch 'master' of https://github.com/wpninjas/ninja-forms