minor cleanup in objectFilter