Fix store bug on collections (now records in cache are preserved)
Fix syntax