Handle missing key exceptions