Fixed minor bug that would diregard some entries.