I would recommend using a sieve approach as an alternative to a majority filter. This will avoid the nodata issue and allow you to specify a minimal mapping unit (MMU). Here is a post that shows how to implement the methodology in ArcGIS.Here is a post that shows how to implement the methodology in ArcGIS.