Simplify if handling a little

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>