Use the container cursor's flags when getting the key