Stock location delete

Fix for issue https://github.com/spree/spree/issues/3503

Deleting stock locations taking a very long time.