Fixed bug with common query display
Fixed bug in dropdown javascript