Fixed up maybeChefType and added test