Fixed 'Bug 11603 - Event completion includes entries which are invalid'.