Fix for issues in #268 regarding required values that are floats