Bug fixes for delete buttons.  dbQueries fixed.