Correcting syntax in workspace invitations controller