Fixes the global before hook to just run on controller specs