I  think m.getProject().exists() is redundant (already tested in isAccessible())