Move restore_current_blog in the correct position

A fix for https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/issues/185

[Further documentation](http://codex.wordpress.org/Function_Reference/switch_to_blog#Multiple_switches)