Fixing conditional

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>