With the filters and joins in play, it's pretty tough to figure out exactly what's happening. Could you provide a packaged workbook? If you have sensitive data, I would check out Anonymize your Tableau Package Data for Sharing
It sounds like the issue might be the order in which Tableau is calculating the rank and other filters. Might be useful to take a look at this chart: Vizible Difference: The Order of Operations Diagram: Update on 12/10/2015. This shows the order in which Tableau will calculate different types of filters.
For example, you might want to check out "Context Filters" if you want to place priority on a filter so that it runs before the others.