Fix API version comparison for upcoming 1.10