Fixing attempt .toLowerCase() when hash is undefined.