Use query projection
Fix fetch (faffing with nested arrays)
Remove unused variable