Added safeApply after federation summary

This closes #21 but is a nasty looking hack.