Debugging filters: added console logging