fixed the issue where ecurity filters cannot perform checks in addition to isSecure(), closes #671