https://github.com/adamarla/documentMaster/issues/25

Introduced this bug in the last commit. Fixed now.