Fixed Environment::exists not looking for key in parent.