Fixed GenericRepository generic type