Seemed like undefined wasn't being handled properly