cleanup logic in rela comparison

Per review comments.

Signed-off-by: Seth Jennings <sjenning@redhat.com>