Fix downloading SQLite database from all users

Simple security fix