[python] Search in lists of lists by given index