Minor bug fix to calling super class constructor