GUAC-707: Clean version check logic.