Bug in keyed-by when called with nil collection