Fixed some issues related to the plugin-store purchase query