#211. Fixed bug with changing court type.