Fix badges bug

Changed badges page so it doesn't display sub phases with no icon.