fix query to get browser_id instead of os_id

This pull request fix PLAT 289 (fix SQL query)