Added last fix (pull #2)

Take 'empty groups' from the .yml file into account.