Reverted 1 Contains to IndexOf as it was usnig IQueryable