hot fix for duplicate records on switching treegrids