debug "if" algorithm in Employee Repository