Are there any Exceptions to this Command; “Mourn with Those Who Mourn?”

Romans 12:15
Joel Webbon

The Bible says to “mourn with those who mourn.” However, is there a certain criteria that must be met before Christians join others in mourning?