Changed OR logic for Mongoid in API controller for week action.