Odd bug. Attempted patch