Some small collect bug fixes. Removed sql entry