Change time filter syntax, fix missing quotes