Fixed broken filter in getWritableClass[T]