Fixed bug where content part template could not be switched to custom