Ensure hash element exists