Fix bug where category is not set when creating a new loop using filter() if none of the filtered tags contains the loop category.
Fix bug where category is not set when creating a new loop using filter() if none of the filtered tags contains the loop category.

uwbmrb/PyNMRSTAR,uwbmrb/PyNMRSTAR,uwbmrb/PyNMRSTAR