Fixes bugs in filter court by name and cancel edit court profile