Fixed bug with security filter