Fixed assert on wrong constructor fields

Comment From: pivotal-cla

@ophiuhus Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@ophiuhus Thank you for signing the Contributor License Agreement!

Comment From: rstoyanchev

Thanks!