GUI-337: Add numeric condition test for volume-related condition keys.

Also adds minor optimization to avoid calling getConditionType() unless necessary.