Fixed logical operators: they now return logical values
Started work on range indexes