Meta-data: fixed bug in meta-data population for raw views. Added missing indexes. Closes #1446.