making if condition consistent per https://github.com/cliftonc/calipso/pull/247