Fixing assignment during initialization issue (Closes #298)

Closes #298