Fixed a bug with GetSingle which would involve an empty identifier.