Extra code removed in new admin security filter