Code format PEP8 and small syntax changes

Changed code formating to work well with PEP8 standard. Changed extra
geo_filter query code format, cause got some problems with SQL query
because of ` symbol