Avoid warnings about empty arrays passed to min().

Conflicts:
	framework/ActiveSync/lib/Horde/ActiveSync/Folder/Imap.php