Updated default scopes to fix deprecation warning in Rails 4
Added fallback for packages without weight