Fixes so only upgrade if @current_resource.version < candidate_version.