It is not related to you fix, but this 3 lines actually wrong. 
Yes Object.create(null) create object without prototype, thus it will not have any properties and will not have .should getter. That is why should called in form of function.