changed installed/candidate version check logic

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>