don't return index query with value None
Merge pull request #27 from onefinestay/index_query_for_none

don't return index query with value None