Found bug where the type of nil was being neglected