DatabaseServer: Split SELECT_STORED into SELECT_STORED and SELECT_STORED_ALL