Changed if ! to unless

Changed if ! to unless for more readability