cleanup - fixes indentation
Bugfix - Handle bulk inserting for empty arrays.