Console truncates on wrong condition