Bugfix on previous commit

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>