Bugfix/getval empty select

Fixes #56