Bugfix 4034 select field empty item

This pull request condenses the filtering logic for the Location and Product stores into a single helper method and refreshes the selectField elements for these stores once they are loaded properly.