don't pass nonexistent query params as attributes