Prevent #523 from crashing.