moved flagstat after spatial_filter
fixed typo
Merge pull request #45 from srl147/devel

moved flagstat after spatial_filter and check for properly paired count rather than pairs aligned