fixed handling non-string labels for selections