Fix a bug in EC2 driver - ensure it works correctly if user passes an int for
ex_mincount or ex_maxcount kwarg.

Reported by Frederic Michaud, part of LIBCLOUD-410.