fix bug where two 'eq' in query string breaks express and mongoose.
Error: CastError: Cast to string failed for value "[ 'Parental', 'Jury Duty' ]" (type Array) at path "reasonForLeave" for model "LeaveRequest"
at getQueriedTotalLeaveRequestsService ...
fix bug where two 'eq' in query string breaks express and mongoose.
Error: CastError: Cast to string failed for value "[ 'Parental', 'Jury Duty' ]" (type Array) at path "reasonForLeave" for model "LeaveRequest" at getQueriedTotalLeaveRequestsService ...