Fix potential exception that I was ignoring.

This can happen, so we should handle it