Update SecurityFilters.groovy

streamlined if