Fixed GridView casts