SiteFilterBehavior fixed

There was a trying to access a non existent index due to a empty
sites table when it tries to get the currentSite. I've fixed it with a
simple check on the currentSite method returning.