Remove unneeded log statements
Filter on type also, if not it causes a crash