Minor fix for issue #1568 solution

Ensures correct comparison of resolution differences