Replace xrange with range
Fix detect indentation with evaluating filter using list