Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826