Fix subject displaying when database is empty