[bugfix] allow_single_deselect will now check that value, not text, is empty in the jquery version (this commit also restores it in the abstract version)