Ubercart "Add to Cart" error drupal_goto last url (for filtered views specifically)

Project:Ubercart Contributions
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

When you have a filtered view and a add to cart errors (like with a quantity restriction) it redirects without the query string. I'm using something like this:

drupal_set_message($message, 'error');
          $lasturl = uc_referer_uri();
          drupal_goto($lasturl);

Maybe it's a good idea...

Version: 
Ubercart 2.0-RC1