Fix assumption that ownerId is an integer type.

Again, the indentation is fixed in a future pull request.