Fix lwaps for leap year indexing issue
fix queries.py for leap year index issues