Make the relatedTo query work correctly with the Parse REST API.

There is a bug in the relatedTo query.