Set branches serializer to read only correctly