Fixed bug caused by mixing methods for initializing dictionaries

Signed-off-by: Ted Gibbons <ted.codes@gmail.com>