Don't return flags Set if none in database: Bug #713907