Really good catch there. Should be checked to see if it's None, I think.