yes, when building queries you need to query based on how ACF stores the value in the DB and not how you display the value. ACF stores values for all fields consistently, this way you can alter how the value is returned in the future without needing a major DB update.