Query by complex key

I am trying to query the view using complex key like in the below code:

        var query = GetQuery(Views.by_user_id_and_event_date);
        query.StartKey(new object[] { userId, DateTime.MinValue })
            .EndKey(new object[] { userId, DateTime.Now })

I doesn not return any record.
However when I remove Desc() it does return some rows in ascending order.
Other than that when I remove Limit(limit) it doesn’t return any rows again…
Is there any particular reason for the above behaviours?

Hey @martinesmann could you provide any light on this ?

@pguzik -

It looks suspiciously like a bug, could you create a Jira ticket with an example project and view and steps to reproduce?