Changed worklog queries for extended database compatibility and performance improvement

Unicode characters in properties files not accepted