Fix infinite loop in CakeErrorController due to NotFoundException 

Resolution proposed by rchavik and tested by myself to problem I reported in IRC where NotFoundException thrown in Comments::CommentModel::isValidLevel() was resulting in a PHP loop which failed when memory_limit or max_nesting were exceeded.