Some code formatting stuff for PEP8 and query format problem solved.

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