Added !isSomeFunction check to serialization member filtering

Fixes an occasional issue with ctors being picked up for serialization