Do not get syntax error on public views without active_user