apt_pkg doesn't store IntLevel variables as integers but strings so cast them to integers in comparisons.
Changed paths: