Standards and some query tweaks for get_downloadable_products #4827