Added filter to only export features of a certain type