Logic Fix.

Signed-off-by: Mike Howe <mike@mcsnetworks.com>