Correctly check for numeric values

hananils/association_ui_selector#10
Version 0.3.1