Empty string keys in Refs and Alternatives.when. Closes #343