WyC: Fix for reporting "Unknown Variable" errors