The optimized version of contains didn't work, so forced using the normal version.