Made a change in the MemoryDAO which ensures there are no duplicates in the flat product list.

Signed-off-by: Alexander Peev <peev.alexander@gmail.com>