Convert dates before indexing them
Make findForeignKey to avoid new tables